package com.jumi.microservice.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class DepartmentRequest implements Serializable {
    @ApiModelProperty(value = "部门名称")
    @NotNull(message = "部门名称不能为空!")
    @Length(max = 10,message = "部门名称长度不能超过10个字符")
    private String departmentName;
    @ApiModelProperty(value = "状态，1启用，0.禁用")
    private Integer status;
    @ApiModelProperty(value = "添加开始时间")
    private String startTimeAdd;
    @ApiModelProperty(value = "添加结束时间")
    private String endTimeAdd;
    @ApiModelProperty(value = "修改开始时间")
    private String startTimeUp;
    @ApiModelProperty(value = "修改结束时间")
    private String endTimeUp;

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStartTimeAdd() {
        return startTimeAdd;
    }

    public void setStartTimeAdd(String startTimeAdd) {
        this.startTimeAdd = startTimeAdd;
    }

    public String getEndTimeAdd() {
        return endTimeAdd;
    }

    public void setEndTimeAdd(String endTimeAdd) {
        this.endTimeAdd = endTimeAdd;
    }

    public String getStartTimeUp() {
        return startTimeUp;
    }

    public void setStartTimeUp(String startTimeUp) {
        this.startTimeUp = startTimeUp;
    }

    public String getEndTimeUp() {
        return endTimeUp;
    }

    public void setEndTimeUp(String endTimeUp) {
        this.endTimeUp = endTimeUp;
    }
}
